package com.ruoyi.merchant.controller;

import com.ruoyi.merchant.service.ScholarService;
import com.ruoyi.merchant.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sch")
public class ScholarController {
    @Autowired
    private ScholarService scholarService;

    @RequestMapping("/list")
    public Result ScholarList(){
        return scholarService.ScholarList();
    }
}
